// src/floor/floor.entity.ts
import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';

@Entity()
export class Floor {
    @PrimaryGeneratedColumn()
    id: number;

    @Column()
    floorNumber: number;

    @Column()
    buildName: string;

    @Column({ nullable: true })
    description: string;
}